package com.example.springboot.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (Backgroundadmin)表实体类
 *
 * @author makejava
 * @since 2023-05-15 18:47:56
 */
@SuppressWarnings("serial")
@Data
public class Backgroundadmin extends Model<Backgroundadmin> {
    //后台管理人员id
    private Integer id;
    //后台管理账号
    private String admin;
    //后台管理密码
    private String aminpassword;

    private String Image;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getAminpassword() {
        return aminpassword;
    }

    public void setAminpassword(String aminpassword) {
        this.aminpassword = aminpassword;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

